package com.recsmile.sgs.client.commonds;

import com.kael.sgs.core.Connection;
import com.recsmile.sgs.client.entity.Game;
import com.recsmile.sgs.client.entity.GameRoom;

public abstract class InGameServerCommand implements GameServerCommand {

	private static final long serialVersionUID = 4744490907869746041L;

	@Override
	public final void execute(GameRoom room, Connection connection) {
		this.execute(room.getGame());
	}
	
	public abstract void execute(Game game);
}
